package com.sjsayers.jtbae.core;
import com.sjsayers.jtbae.creatures.Human;
/** This is a stunning example of how to make a level */
public class FirstLevel extends SuperLevel {
	//Create an instance of the human with 100 health, 5 strength, and 20 EXP points to start.
	public Human player = new Human(100, 5, 20);
	//tileBehavior is a repeatable class to play out the game.
	void tileBehavior(){
		//IF they are at the 0,0 location, which is default do the first event.
		if(move.getCordX() == 0 && move.getCordY() == 0){
			//You must set the story. Here I set this to a println so it doesn't
			//Intrude with what the player might think they need to do, that's what
			//.setMessage() is for.
			System.out.println("Hello secrent agent bob.\nYou on a top secret govenment" +
				"mission to go into the deep abyss of the hot dog land.\nPlease," +
				"listen, as the following message is very important.\n" +
				"You see the man in the overcoat reach over and turn on a tape" +
				"recording of what sounds to be a donkey.\nHowever, played backwards " +
				"it tells you you must be aten by a hotdog binge eater to enter" +
				"the world of hotdog\nand save King Mr. Hotdog , they tell you" +
				"you must walk UP into the hotdog-decombasutirealtor.");
			//This is for asking for response, it will add at the end of the line a >
			ch.setMessage("Please go up into the hotdog-decomasutirealtor sir.");
			//checkAndRunCommand is for seeing what the user input and doing what they wanted
			//It's built into the SuperLevel class.
			this.checkAndRunCommand(ch.getUserInput());
		}
		if(move.getCordX() == 0 && move.getCordY() == 1){
			System.out.println("CHOMP CHOMP CHOMP, you see your body turn into" +
					"a pixilated mess and soon become in a cartoon like world\n" +
					"where you see multiple grills, which seems to be like swimming pools to the hot dogs.\n" +
					"Suddenly you get attacked by a Mean Mr. Mustard, which is odd because Mustard and Hotdogs are allies.");
			//This creates a fight between two identical creatures.
			this.arena.Fight(player, player);
		}
	}
	
	public static void main(String[] args) {
		FirstLevel fl = new FirstLevel();
		fl.tileBehavior();

	}

}